﻿using System.Linq;

namespace Writespace.Dialogs
{
    public static class StringExt
    {
        public static int WordCount(this string s)
        {
            return s.Count(char.IsWhiteSpace);
        }
    }
}